package JavaSE.ExtendsLearning.Test01;

public class Son extends Father{
    int id = 30;
    @Override
    public void display() {
        System.out.println(id);
    }

    public void sonMethod() {
        System.out.println("son的独有方法");
    }

}
